package com.work.demo.redis;

import java.util.concurrent.TimeUnit;

public interface RedisStorageService {
    void add(String key, String value);

    String getValue(String key);

    boolean del(String key);

    boolean expired(String key, Long time, TimeUnit timeUnit);
}
